<%@ Page Title="Bicycle Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<GoldenBicycleCompany.Core.Bicycle>" %>
<%@ Import Namespace="GoldenBicycleCompany.Web.Controllers" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h1>Bicycle Details</h1>

    <ul>
		<li>
			<label for="Bicycle_BicycleManufacturer">BicycleManufacturer:</label>
            <span id="Bicycle_BicycleManufacturer"><%= Server.HtmlEncode(ViewData.Model.BicycleManufacturer.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_BicycleType">BicycleType:</label>
            <span id="Bicycle_BicycleType"><%= Server.HtmlEncode(ViewData.Model.BicycleType.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_Color">Color:</label>
            <span id="Bicycle_Color"><%= Server.HtmlEncode(ViewData.Model.Color.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_MaintenanceRecords">MaintenanceRecords:</label>
            <span id="Bicycle_MaintenanceRecords"><%= Server.HtmlEncode(ViewData.Model.MaintenanceRecords.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_BarcodeIdNumber">BarcodeIdNumber:</label>
            <span id="Bicycle_BarcodeIdNumber"><%= Server.HtmlEncode(ViewData.Model.BarcodeIdNumber.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_Model">Model:</label>
            <span id="Bicycle_Model"><%= Server.HtmlEncode(ViewData.Model.Model.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_YearPurchased">YearPurchased:</label>
            <span id="Bicycle_YearPurchased"><%= Server.HtmlEncode(ViewData.Model.YearPurchased.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_IsRented">IsRented:</label>
            <span id="Bicycle_IsRented"><%= Server.HtmlEncode(ViewData.Model.IsRented.ToString()) %></span>
		</li>
		<li>
			<label for="Bicycle_IsUnderMaintenance">IsUnderMaintenance:</label>
            <span id="Bicycle_IsUnderMaintenance"><%= Server.HtmlEncode(ViewData.Model.IsUnderMaintenance.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpressionForAreas<BicyclesController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
